// prototype the struct so that we can pass it as a parameter without munging the include order
struct ScriptEngine;

typedef void(*pt2Func)(Player & p, ScriptEngine & turingMachine);


struct LookupEntry
{
	char * name;
	pt2Func FUNCTION;
};

LookupEntry scriptLookupTable[] =
{
	{"left",	movePlayerLeft		},
	{"right",	movePlayerRight		},
	{"up",		movePlayerUp		},
	{"down",	movePlayerDown		},
	{"icon",	changePlayerIcon	},
	{0, 0}
};
